<?php
$dao = new DaoMenu();
$list = $dao->getList("parentID = 0");
?>
<div>
	<ul>
		<?php foreach($list as $menu):?>
		<li><a href="<?php echo service_menu::getUrlByID($menu['id']);?>"><?php echo $menu['title'];?></a></li>
		<?php endforeach;?>
	</ul>
</div>
